package www.lagou.entity;

import java.util.Date;

/**
 * 转账类
 *   cardid VARCHAR(100)
 *   tratype VARCHAR(100)
 *   tramoney DOUBLE
 *   tradate DATETIME
 */
public class Transaction {
    private String cardid;
    private String tratype;
    private double tramoney;
    private String tradate;

    public Transaction() {
    }

    public Transaction(String cardid, String tratype, double tramoney, String tradate) {
        this.cardid = cardid;
        this.tratype = tratype;
        this.tramoney = tramoney;
        this.tradate = tradate;
    }

    public String getCardid() {
        return cardid;
    }

    public void setCardid(String cardid) {
        this.cardid = cardid;
    }

    public String getTratype() {
        return tratype;
    }

    public void setTratype(String tratype) {
        this.tratype = tratype;
    }

    public double getTramoney() {
        return tramoney;
    }

    public void setTramoney(double tramoney) {
        this.tramoney = tramoney;
    }

    public String getTradate() {
        return tradate;
    }

    public void setTradate(String tradate) {
        this.tradate = tradate;
    }

    @Override
    public String toString() {
        return "Transaction{" +
                "cardid='" + cardid + '\'' +
                ", tratype='" + tratype + '\'' +
                ", tramoney=" + tramoney +
                ", tradate=" + tradate +
                '}';
    }
}
